package com.dmap.admin.vo.backgroundv3;

import com.dmap.admin.po.IosVersion;

import java.io.Serializable;

/**
 * @author: zmh
 * @create: 18-8-22
 * @description: ${description}
 **/
public class IosVersionSelectVo implements Serializable {
    /**
     * 主键id
     * 表字段 : ios_version.id
     */
    private String iosVersionId;

    /**
     * 项目编号
     * 表字段 : ios_version.app_number
     */
    private String appNumber;

    /**
     * 最小版本
     * 表字段 : ios_version.min_version
     */
    private String minVersion;

    /**
     * 最新版本
     * 表字段 : ios_version.new_version
     */
    private String newVersion;

    /**
     * 描述
     * 表字段 : ios_version.description
     */
    private String description;

    /**
     * 表字段 : ios_version.description_en
     */
    private String descriptionEn;

    /**
     * 下载地址
     * 表字段 : ios_version.url
     */
    private String url;

    /**
     * 表字段 : ios_version.md5
     */
    private String md5;

    /**
     * app上传时间，时间戳
     * 表字段 : ios_version.upload_time
     */
    private Long uploadTime;

    /**
     * 状态：1正常，2禁用
     * 表字段 : ios_version.status
     */
    private Integer status;

    /**
     * 创建时间
     * 表字段 : ios_version.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : ios_version.update_time
     */
    private Long updateTime;


    public IosVersionSelectVo() {
    }

    public IosVersionSelectVo(IosVersion iosVersion) {
        if (iosVersion.getId() != null) {
            this.iosVersionId = iosVersion.getId() + "";
        }
        if (iosVersion.getAppNumber() != null) {
            this.appNumber = iosVersion.getAppNumber();
        }
        if (iosVersion.getMinVersion() != null) {
            this.minVersion = iosVersion.getMinVersion();
        }
        if (iosVersion.getNewVersion() != null) {
            this.newVersion = iosVersion.getNewVersion();
        }
        if (iosVersion.getDescription() != null) {
            this.description = iosVersion.getDescription();
        }
        if (iosVersion.getDescriptionEn() != null) {
            this.descriptionEn = iosVersion.getDescriptionEn();
        }
        if (iosVersion.getUrl() != null) {
            this.url = iosVersion.getUrl();
        }
        if (iosVersion.getMd5() != null) {
            this.md5 = iosVersion.getMd5();
        }
        if (iosVersion.getUploadTime() != null) {
            this.uploadTime = iosVersion.getUploadTime();
        }
        if (iosVersion.getStatus() != null) {
            this.status = iosVersion.getStatus();
        }
        if (iosVersion.getCreateTime() != null) {
            this.createTime = iosVersion.getCreateTime();
        }
        if (iosVersion.getUpdateTime() != null) {
            this.updateTime = iosVersion.getUpdateTime();
        }
    }

    public String getIosVersionId() {
        return iosVersionId;
    }

    public void setIosVersionId(String iosVersionId) {
        this.iosVersionId = iosVersionId;
    }

    public String getAppNumber() {
        return appNumber;
    }

    public void setAppNumber(String appNumber) {
        this.appNumber = appNumber;
    }

    public String getMinVersion() {
        return minVersion;
    }

    public void setMinVersion(String minVersion) {
        this.minVersion = minVersion;
    }

    public String getNewVersion() {
        return newVersion;
    }

    public void setNewVersion(String newVersion) {
        this.newVersion = newVersion;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescriptionEn() {
        return descriptionEn;
    }

    public void setDescriptionEn(String descriptionEn) {
        this.descriptionEn = descriptionEn;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}
